using System;
using System.Reflection;

using System.Collections;
using System.Collections.Generic;

using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace CSharpDistilled.Diagnostics
{
    /// <summary>
    /// Provides unit testing for the <see cref="T:CSharpDistilled.Diagnostics.OperatingSystem"/> class.
    /// </summary>
    [TestClass]
    public class OperatingSystemUnitTest
    {
        #region public OperatingSystemUnitTest()

        /// <summary>
        /// Initializes a new instance of the <see cref="T:OperatingSystemUnitTest"/> class.
        /// </summary>
        public OperatingSystemUnitTest()
        {

        }

        #endregion

        #region public void GetOperatingSystemTest()

        /// <summary>
        /// Unit test to exercise the <see cref="M:CSharpDistilled.Diagnostics.Processor.GetProcessors"/> static method.
        /// </summary>
        [TestMethod]
        public void GetOperatingSystemTest()
        {
            OperatingSystem operatingSystem = new OperatingSystem();

            Assert.IsNotNull(operatingSystem);

            Assert.IsFalse(string.IsNullOrEmpty(operatingSystem.Name));
        }

        #endregion
    }
}
